Skip to content

#1141: per-event cards keep forensic detail + numeric Current Value (gotqn feedback)#1146

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/1141-per-event-detail
Jun 18, 2026
Merged

#1141: per-event cards keep forensic detail + numeric Current Value (gotqn feedback)#1146
erikdarlingdata merged 1 commit into
devfrom
feature/1141-per-event-detail

Conversation

@erikdarlingdata

Copy link
Copy Markdown
Owner

Fixes the two things gotqn found while testing the dev build (the #1140 fingerprint tested great — stable key + climbing Occurrences; these are per-event delivery polish):

  1. Per-event cards no longer carry less detail than Summary. PerEventNotification.Split built a fresh context with only the dedup metadata, dropping the builder's per-incident detail (deadlock Victim SQL/Processes; blocking Database/Query/Lock Mode) and the email's deadlock_graph.xml attachment. Now:
    • AlertIncident carries transient DetailFields (forensic facts), populated by the groupers from the representative event.
    • Split renders them onto each per-incident card and carries the source AttachmentXml/AttachmentFileName.
    • Summary rendering is untouched (AlertIncidentRenderer.Apply omits DetailFields to avoid duplicating the builder's own items); DetailFields aren't persisted.
  2. Per-event "Current Value" is now the occurrence count (a number, matching Summary mode) instead of the involved-objects string (which already shows as its own fact).

Verification

  • Lite 500 + Dashboard 487 tests green (3 new: detail preserved in per-event, attachment carried, Current Value = count); both apps build 0 warnings.

Keeps this on #1141 (no separate issue needed, per gotqn's offer).

🤖 Generated with Claude Code

…tqn feedback)

Addresses gotqn's two findings from testing the dev build (the #1140 fingerprint itself
tested great — stable key + climbing Occurrences):

1. Per-event cards no longer carry LESS detail than Summary. AlertIncident now carries
   transient DetailFields (forensic facts), populated by the groupers from the
   representative event: blocking -> Database / Contentious Object / Blocked Query /
   Blocking Query / Lock Mode; deadlock -> Victim SQL / Processes (Lite), Query / Wait
   Resource / Lock Mode (Dashboard). PerEventNotification.Split renders them onto each
   per-incident card and now also carries the source AttachmentXml/FileName so per-event
   email keeps the deadlock_graph.xml / blocked_process_report.xml. Summary rendering is
   untouched (AlertIncidentRenderer.Apply leaves DetailFields off to avoid duplicating the
   builder's own items), and DetailFields are not persisted.
2. Per-event "Current Value" is now the occurrence count (a number, matching Summary),
   not the involved-objects string (which already shows as its own fact).

Lite 500 + Dashboard 487 tests green (3 new: detail preserved, attachment carried,
Current Value = count); both apps build 0 warnings.

Refs #1141 #1140

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit fad047d into dev Jun 18, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/1141-per-event-detail branch June 18, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant